Smush\Core\Transform\Transformer S

Total Complexity 42
Dependencies 5
Dependents 3
Total lines 203
Lines of code 131
Logical lines of code 70
Comment lines 33
Methods 14
Properties 4

Methods 14

Method Rating Maintainability Complexity Lines of code
transform_rest_content_field()
S
55 5 21
transform_content()
S
60 5 14
transform_rest_media_response()
S
59 5 14
transform_rest_response()
S
60 4 13
is_array_post_like()
S
70 4 6
prepare_transforms()
S
63 4 10
transform_single_rest_item()
S
63 3 10
transform_rest_content_fields()
S
66 3 9
apply_transform_to_content()
S
66 2 8
transform_url()
S
71 2 6
get_transforms()
S
72 2 6
__construct()
S
73 1 5
get_rest_content_fields()
S
75 1 4
do_pre_transform_action()
S
72 1 5